package com.lazy.dao;

import com.lazy.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2022-06-06 21:24:53
 */
public interface UserDao {

    @Select("select * from t_user u where u.username=#{username} and u.password=#{password} ")
    User login(User user);
}

